package com.jyu.hakkatranslation.Exception.Enums;

import lombok.*;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum LoginEnum {
    PASSWORD_ERROR(10001,"密码错误"),
    USERNAME_ERROR(10002,"用户名错误"),
    USER_NO_EXIST(10003,"用户不存在"),
    LOGIN_SUCCESS(10000,"登录成功"),
    REGISTER_SUCCESS(20000,"注册成功"),
    REGISTER_ANSWER_INCONSISTENT(20001,"两次密码不一致"),
    REGISTER_ERROR(20001,"注册失败");
    private Integer state;
    private String message;
}
